-- GENERATED SPELL FOR [Infected Wildkin] --


function spell0_17322(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(31282,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17322', 30269, 1)
end

function Sorts_17322(pUnit, Event)
local choix_sorts_17322 = math.random(0, 0)
if choix_sorts_17322 == 0 then
pUnit:RegisterEvent('spell0_17322', 1, 1)
end
end

function mob17322_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17322', math.random(1500, 3000), 1)
end

function mob17322_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17322_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17322_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17322, 1, 'mob17322_Action')
RegisterUnitEvent(17322, 2, 'mob17322_Leave')
RegisterUnitEvent(17322, 3, 'mob17322_Kill')
RegisterUnitEvent(17322, 4, 'mob17322_Die')
